﻿using System;

namespace SharpSqlAnalyzer.nodes.mdx
{
	// Token: 0x020003CF RID: 975
	public class TMdxAxis : TParseTreeNode
	{
		// Token: 0x170008B3 RID: 2227
		// (get) Token: 0x06002720 RID: 10016 RVA: 0x0033B2B5 File Offset: 0x003394B5
		// (set) Token: 0x06002721 RID: 10017 RVA: 0x0033B2BD File Offset: 0x003394BD
		public EMdxAxisType AxisType
		{
			get
			{
				return this._axisType;
			}
			set
			{
				this._axisType = value;
			}
		}

		// Token: 0x170008B4 RID: 2228
		// (get) Token: 0x06002722 RID: 10018 RVA: 0x0033B2C6 File Offset: 0x003394C6
		// (set) Token: 0x06002723 RID: 10019 RVA: 0x0033B2CE File Offset: 0x003394CE
		public int AxisOrdinal
		{
			get
			{
				return this._axisOrdinal;
			}
			set
			{
				this._axisOrdinal = value;
			}
		}

		// Token: 0x06002724 RID: 10020 RVA: 0x0033B2D7 File Offset: 0x003394D7
		public override void init(object arg1)
		{
			this._axisType = (EMdxAxisType)arg1;
		}

		// Token: 0x06002725 RID: 10021 RVA: 0x0033B2E5 File Offset: 0x003394E5
		public override void init(object arg1, object arg2, object arg3)
		{
			this.init(arg1);
			this._ordinalToken = (TSourceToken)arg2;
			int.TryParse(this._ordinalToken.ToString(), out this._axisOrdinal);
		}

		// Token: 0x04001DAD RID: 7597
		private EMdxAxisType _axisType;

		// Token: 0x04001DAE RID: 7598
		private int _axisOrdinal;

		// Token: 0x04001DAF RID: 7599
		private TSourceToken _ordinalToken;
	}
}
